import { createApp } from 'vue';
import App from './App.vue';
import { createRouter, createWebHashHistory } from 'vue-router';

// 把antdv的依赖去掉也能快速编译
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import routes from './routes'

const router = createRouter({
    history: createWebHashHistory(),
    routes,
});
const app = createApp(App);
app.config.productionTip = false;
app.use(Antd);
app.use(router);
app.mount('#app');
